import request from '@/utils/request'

// 登录/注册请求
export const register = data => request.post('/h5/user/register', data)
export const login = data => request.post('/h5/user/login', data)
// 获取用户信息
export const getUserInfo = () => request('/h5/user/currentUser')
